<script type="text/html" template>
    <link rel="stylesheet" href="{{ layui.setter.base }}/start/layui/css/layui.css">
    <link rel="stylesheet" href="{{ layui.setter.base }}style/css/reset.css">
    <link rel="stylesheet" href="{{ layui.setter.base }}style/css/maintain/alert.css">
</script>
    <ul class="alert-box layui-fluid">
        <div class="title">
            <span>故障类型详情</span>
            <span class="edit"></span>

        </div>
        <ul class="container layui-form ">
            <li>
                <div class="layui-form-item">
                    <label class="layui-form-label">输入框</label>
                    <div class="layui-input-block">
                        <input type="text" name="title" required lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">
                    </div>
                </div>
            </li>
            <li>
                <div class="layui-form-item">
                    <label class="layui-form-label">故障类型:</label>
                    <div class="layui-input-block">
                        故障类型
                    </div>
                </div>
            </li>
            <li>
                <div class="layui-form-item">
                    <label class="layui-form-label">故障类型说明:</label>
                    <div class="layui-input-block">
                        故障类型说明故障类型说明
                    </div>
                </div>
            </li>
        </ul>
        <div class="footer layui-btn-container">
            <button class="btn1 layui-btn layui-btn-radius layui-btn-primary">确定</button>
            <button class="btn2 layui-btn layui-btn-radius layui-btn-primary">取消</button>
        </div>
        </div>
        <script src="./start/layui/layui.all.js"></script>
        <script>
            ! function() {
                var form = layui.form,
                    layer = layui.layer,
                    $ = layui.$,
                    admin = layui.admin,
                    view = layui.view,
                    api = layui.api,
                    table = layui.table,
                    setter = layui.setter,
                    laytpl = layui.laytpl,
                    utill = layui.utill,
                    form = layui.form,
                    element = layui.element;
                $('.footer').on('click', 'button', function() {
                    var index = parent.layer.getFrameIndex(window.name);
                    parent.layer.close(index);
                });
            }();
        </script>